package com.vita.testCore.func;

import com.vita.testCore.CvtExecute;

import java.util.UUID;

public abstract class CvtExecuteInOut<I,O> extends CvtExecute<I,O> {
    private final static String KEY = "CvtExecuteInOut";
    private String id;

    {
        id = UUID.randomUUID().toString().replaceAll("-","");
    }

    public abstract void run(I i,O o);

    @Override
    public String getKey() {
        return KEY;
    }

    @Override
    public String getId() {
        return id;
    }
}
